Creates a new DiamantCarboniteController<TDataContext> instance.

Namespace: Keystone.Carbonite.Diamant
Assembly: Keystone.Carbonite.Diamant (in Keystone.Carbonite.Diamant.dll)

public DiamantCarboniteController( 
string connectionString
bool persistChangesPerOperation = true, 
bool closeDataContextOnChangeConfirmation = true, 
params DataContextCreationArgument[] dataContextCreationArguments 
)
This language is not supported or no code example is available.

Parameters

connectionString

Type: string

The data connection string.

persistChangesPerOperation

Type: bool

if set to true the data changes will commit every time a persistence method of a DAO is successfully executed.

closeDataContextOnChangeConfirmation

Type: bool

if set to true the underlying data store context will be closed after successfully calling the ConfirmChanges method.

dataContextCreationArguments

Type: DataContextCreationArgument[]

The data context creation arguments to pass to the OnCreateDataContext(DataContextCreationArgument[]) method.

Windows, Windows Server, OS X, macOS, iOS, tvOS, Android, Linux, AWS, Azure

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 4.6

Others

Xamarin, Mono